package com.kehutong.payfees.admin.treasure;

//import com.kehutong.payfees.entity.treasure.PersonalTempSeal;
//import com.kehutong.payfees.service.treasure.ESignTreasurePersonalTempSealServiceImpl;
//import org.coraframework.authz.HasPermission;
//import org.coraframework.inject.Inject;
//import org.coraframework.json.JSONObject;
//import org.coraframework.mvc.MvcAction;
//import org.coraframework.mvc.http.Bean;
//import org.coraframework.mvc.http.ReqMapping;
//import org.coraframework.mvc.http.result.Result;
//
//@MvcAction
//@ReqMapping("/admin/sign/treasure/personal/temp/seal")
//public class ESignTreasurePersonalTempSealController {
//
//    @Inject
//    private ESignTreasurePersonalTempSealServiceImpl eSignTreasurePersonalTempSealService;
//
//    @HasPermission("charge:seal:view")
//    @ReqMapping("/page")
//    public Object pagePersonalTempSeal(JSONObject jsonObject) {
//        return Result.success(eSignTreasurePersonalTempSealService.pagePersonalTempSeal(jsonObject));
//    }
//
//    @Bean(newInstance=true, copy=true)
//    @HasPermission("charge:seal:edit")
//    @ReqMapping("/create")
//    public Object createPersonalTempSeal(PersonalTempSeal personalTempSeal) throws Exception {
//        eSignTreasurePersonalTempSealService.createPersonalTempSeal(personalTempSeal);
//        return Result.success();
//    }
//
//    @HasPermission("charge:seal:view")
//    @ReqMapping("/get")
//    public Object gePersonalTempSeal(String id) {
//        return Result.success(eSignTreasurePersonalTempSealService.getPersonalTempSeal(id));
//    }
//
//    @HasPermission("charge:seal:edit")
//    @ReqMapping("/delete")
//    public Object deletePersonalTempSeal(JSONObject jsonObject) throws Exception {
//        eSignTreasurePersonalTempSealService.deletePersonalTempSeal(jsonObject.getString("accountId"), jsonObject.getString("sealId"));
//        return Result.success();
//    }
//
//
//}
